home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 02 - 1986 / 02.02 Feb 86.sit / 02.02 Feb 86 / fortran 2.2 / Stripper.for < prev   
MacBinary  |  1985-09-04  |  4.4 KB  |  [TEXT/EDIT]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Wed Sep 4 16:51:48 1985, modified Wed Sep 4 16:51:48 1985, creator Macintosh Edit, type ASCII, 3805 bytes "Stripper.for" , at 0xf5d 490 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[EDIT]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 53 74 72 69 70 70 | 65 72 2e 66 6f 72 00 00 |..Stripp|er.for..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 45 44 49 | 54 01 00 00 00 00 00 00 |.TEXTEDI|T.......|
|00000050| 00 00 00 00 00 0e dd 00 | 00 01 ea 99 a2 71 64 99 |........|.....qd.|
|00000060| a2 71 64 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.qd.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 af 6b 00 00 |........|.....k..|
|00000080| 2a 20 20 54 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |* The f|ollowing|
|00000090| 20 70 72 6f 67 72 61 6d | 20 73 74 72 69 70 73 20 | program| strips |
|000000a0| 74 68 65 20 66 69 72 73 | 74 20 38 20 62 79 74 65 |the firs|t 8 byte|
|000000b0| 73 20 28 74 77 6f 20 33 | 32 20 62 69 74 20 77 6f |s (two 3|2 bit wo|
|000000c0| 72 64 73 29 20 66 72 6f | 6d 0d 2a 20 20 74 68 65 |rds) fro|m.* the|
|000000d0| 20 73 74 61 72 74 20 6f | 66 20 61 20 4d 61 63 41 | start o|f a MacA|
|000000e0| 73 6d 20 62 69 6e 61 72 | 79 20 66 69 6c 65 2e 20 |sm binar|y file. |
|000000f0| 20 54 68 75 73 2c 20 74 | 68 65 20 70 72 6f 67 72 | Thus, t|he progr|
|00000100| 61 6d 20 63 61 6e 20 62 | 65 20 64 61 6e 67 65 72 |am can b|e danger|
|00000110| 6f 75 73 2e 20 0d 2a 20 | 20 49 74 73 20 69 6e 74 |ous. .* | Its int|
|00000120| 65 6e 64 65 64 20 75 73 | 65 20 69 73 20 74 6f 20 |ended us|e is to |
|00000130| 73 74 72 69 70 20 6f 66 | 66 20 74 68 65 20 62 79 |strip of|f the by|
|00000140| 74 65 73 20 70 6c 61 63 | 65 64 20 61 74 20 74 68 |tes plac|ed at th|
|00000150| 65 20 73 74 61 72 74 20 | 6f 66 20 61 20 0d 2a 20 |e start |of a .* |
|00000160| 20 4d 61 63 41 73 6d 20 | 6f 62 6a 65 63 74 20 66 | MacAsm |object f|
|00000170| 69 6c 65 20 63 72 65 61 | 74 65 64 20 75 73 69 6e |ile crea|ted usin|
|00000180| 67 20 65 69 74 68 65 72 | 20 74 68 65 20 54 46 49 |g either| the TFI|
|00000190| 4c 45 20 6f 72 20 42 53 | 41 56 45 20 63 6f 6d 6d |LE or BS|AVE comm|
|000001a0| 61 6e 64 73 2e 0d 2a 20 | 20 4d 61 63 41 73 6d 20 |ands..* | MacAsm |
|000001b0| 75 73 65 73 20 74 68 65 | 73 65 20 74 77 6f 20 33 |uses the|se two 3|
|000001c0| 32 20 62 69 74 20 77 6f | 72 64 73 20 61 73 20 6c |2 bit wo|rds as l|
|000001d0| 6f 61 64 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 2e |oad info|rmation.|
|000001e0| 0d 2a 0d 2a 20 20 54 68 | 65 20 70 72 6f 67 72 61 |.*.* Th|e progra|
|000001f0| 6d 20 69 73 20 77 72 69 | 74 74 65 6e 20 66 6f 72 |m is wri|tten for|
|00000200| 20 74 68 65 20 4d 53 20 | 46 6f 72 74 72 61 6e 20 | the MS |Fortran |
|00000210| 56 32 2e 31 20 63 6f 6d | 70 69 6c 65 72 20 61 6e |V2.1 com|piler an|
|00000220| 64 20 6d 61 6b 65 73 0d | 2a 20 20 75 73 65 20 6f |d makes.|* use o|
|00000230| 66 20 61 20 73 75 62 72 | 6f 75 74 69 6e 65 20 53 |f a subr|outine S|
|00000240| 74 64 66 69 6c 20 64 65 | 76 65 6c 6f 70 65 64 20 |tdfil de|veloped |
|00000250| 62 79 20 4d 69 63 72 6f | 73 6f 66 74 2f 41 62 73 |by Micro|soft/Abs|
|00000260| 6f 66 74 2e 0d 2a 0d 2a | 20 20 4d 61 72 6b 20 45 |oft..*.*| Mark E|
|00000270| 2e 20 4d 63 42 72 69 64 | 65 0d 2a 20 20 32 31 31 |. McBrid|e.* 211|
|00000280| 20 4e 2e 20 55 6e 69 76 | 65 72 73 69 74 79 20 41 | N. Univ|ersity A|
|00000290| 76 65 2e 0d 2a 20 20 4f | 78 66 6f 72 64 2c 20 4f |ve..* O|xford, O|
|000002a0| 48 20 20 34 35 30 35 36 | 0d 2a 0d 2a 0d 09 50 72 |H 45056|.*.*..Pr|
|000002b0| 6f 67 72 61 6d 20 53 74 | 72 69 70 70 65 72 0d 09 |ogram St|ripper..|
|000002c0| 0d 09 69 6d 70 6c 69 63 | 69 74 20 6e 6f 6e 65 09 |..implic|it none.|
|000002d0| 09 21 6b 65 65 70 73 20 | 75 73 20 6f 75 74 20 6f |.!keeps |us out o|
|000002e0| 66 20 74 72 6f 75 62 6c | 65 0d 09 0d 09 69 6e 63 |f troubl|e....inc|
|000002f0| 6c 75 64 65 20 77 69 6e | 64 6f 77 2e 69 6e 63 0d |lude win|dow.inc.|
|00000300| 09 69 6e 63 6c 75 64 65 | 20 64 69 61 6c 6f 67 2e |.include| dialog.|
|00000310| 69 6e 63 0d 09 69 6e 63 | 6c 75 64 65 20 71 75 69 |inc..inc|lude qui|
|00000320| 63 6b 64 72 61 77 2e 69 | 6e 63 0d 09 69 6e 63 6c |ckdraw.i|nc..incl|
|00000330| 75 64 65 20 6d 69 73 63 | 2e 69 6e 63 0d 09 0d 09 |ude misc|.inc....|
|00000340| 69 6e 74 65 67 65 72 2a | 32 20 77 6f 72 64 09 09 |integer*|2 word..|
|00000350| 21 20 61 20 74 77 6f 20 | 62 79 74 65 20 77 6f 72 |! a two |byte wor|
|00000360| 64 0d 09 6c 6f 67 69 63 | 61 6c 20 73 74 64 66 69 |d..logic|al stdfi|
|00000370| 6c 09 09 21 20 65 78 74 | 65 72 6e 61 6c 20 67 65 |l..! ext|ernal ge|
|00000380| 74 20 61 6e 64 20 70 75 | 74 20 66 69 6c 65 20 72 |t and pu|t file r|
|00000390| 6f 75 74 69 6e 65 0d 09 | 63 68 61 72 61 63 74 65 |outine..|characte|
|000003a0| 72 2a 36 34 20 6f 66 69 | 6c 65 2c 6e 66 69 6c 65 |r*64 ofi|le,nfile|
|000003b0| 20 21 20 6f 6c 64 20 66 | 69 6c 65 20 6e 61 6d 65 | ! old f|ile name|
|000003c0| 20 61 6e 64 20 6e 65 77 | 20 66 69 6c 65 20 6e 61 | and new| file na|
|000003d0| 6d 65 0d 09 63 68 61 72 | 61 63 74 65 72 2a 32 35 |me..char|acter*25|
|000003e0| 36 20 73 74 72 67 09 21 | 20 67 65 6e 65 72 61 6c |6 strg.!| general|
|000003f0| 20 70 75 72 70 6f 73 65 | 20 73 74 72 69 6e 67 20 | purpose| string |
|00000400| 76 61 72 69 61 62 6c 65 | 0d 09 69 6e 74 65 67 65 |variable|..intege|
|00000410| 72 2a 32 20 72 65 63 74 | 28 34 29 09 21 20 67 65 |r*2 rect|(4).! ge|
|00000420| 6e 65 72 61 6c 20 70 75 | 72 70 6f 73 65 20 72 65 |neral pu|rpose re|
|00000430| 63 74 61 6e 67 6c 65 20 | 69 6e 66 6f 0d 09 69 6e |ctangle |info..in|
|00000440| 74 65 67 65 72 2a 34 20 | 69 09 09 21 20 6c 6f 6f |teger*4 |i..! loo|
|00000450| 70 69 6e 67 20 76 61 72 | 69 61 62 6c 65 0d 09 69 |ping var|iable..i|
|00000460| 6e 74 65 67 65 72 2a 34 | 20 74 6f 6f 6c 62 78 09 |nteger*4| toolbx.|
|00000470| 21 20 74 6f 6f 6c 62 6f | 78 20 69 6e 74 65 72 66 |! toolbo|x interf|
|00000480| 61 63 65 0d 09 69 6e 74 | 65 67 65 72 2a 34 20 77 |ace..int|eger*4 w|
|00000490| 69 6e 64 6f 77 2c 6f 77 | 09 21 20 67 65 6e 65 72 |indow,ow|.! gener|
|000004a0| 61 6c 20 70 75 72 70 6f | 73 65 20 77 69 6e 64 6f |al purpo|se windo|
|000004b0| 77 20 68 61 6e 64 6c 65 | 73 0d 09 69 6e 74 65 67 |w handle|s..integ|
|000004c0| 65 72 2a 31 20 6f 5f 72 | 65 63 6f 72 64 28 31 35 |er*1 o_r|ecord(15|
|000004d0| 34 29 09 21 20 77 69 6e | 64 6f 77 20 72 65 63 6f |4).! win|dow reco|
|000004e0| 72 64 0d 09 69 6e 74 65 | 67 65 72 2a 32 20 66 6f |rd..inte|ger*2 fo|
|000004f0| 6e 74 69 6e 66 6f 28 34 | 29 09 21 20 66 6f 6e 74 |ntinfo(4|).! font|
|00000500| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 72 65 63 | informa|tion rec|
|00000510| 6f 72 64 0d 09 69 6e 74 | 65 67 65 72 2a 32 20 61 |ord..int|eger*2 a|
|00000520| 73 63 65 6e 74 2c 64 65 | 73 63 65 6e 74 2c 77 69 |scent,de|scent,wi|
|00000530| 64 6d 61 78 2c 6c 65 61 | 64 69 6e 67 20 21 20 66 |dmax,lea|ding ! f|
|00000540| 6f 6e 74 20 63 68 61 72 | 61 63 74 65 72 69 73 74 |ont char|acterist|
|00000550| 69 63 73 0d 09 69 6e 74 | 65 67 65 72 2a 32 20 68 |ics..int|eger*2 h|
|00000560| 65 69 67 68 74 09 21 20 | 68 65 69 67 68 74 20 66 |eight.! |height f|
|00000570| 72 6f 6d 20 74 6f 70 20 | 6f 66 20 66 6f 6e 74 20 |rom top |of font |
|00000580| 74 6f 20 74 6f 70 20 6f | 66 20 66 6f 6e 74 0d 09 |to top o|f font..|
|00000590| 69 6e 74 65 67 65 72 2a | 34 20 6e 6f 72 6d 61 6c |integer*|4 normal|
|000005a0| 2c 62 6f 6c 64 09 21 20 | 74 65 78 74 66 61 63 65 |,bold.! |textface|
|000005b0| 20 73 74 79 6c 65 73 0d | 09 0d 09 65 71 75 69 76 | styles.|...equiv|
|000005c0| 61 6c 65 6e 63 65 28 66 | 6f 6e 74 69 6e 66 6f 28 |alence(f|ontinfo(|
|000005d0| 31 29 2c 61 73 63 65 6e | 74 29 0d 09 65 71 75 69 |1),ascen|t)..equi|
|000005e0| 76 61 6c 65 6e 63 65 28 | 66 6f 6e 74 69 6e 66 6f |valence(|fontinfo|
|000005f0| 28 32 29 2c 64 65 73 63 | 65 6e 74 29 0d 09 65 71 |(2),desc|ent)..eq|
|00000600| 75 69 76 61 6c 65 6e 63 | 65 28 66 6f 6e 74 69 6e |uivalenc|e(fontin|
|00000610| 66 6f 28 33 29 2c 77 69 | 64 6d 61 78 29 0d 09 65 |fo(3),wi|dmax)..e|
|00000620| 71 75 69 76 61 6c 65 6e | 63 65 28 66 6f 6e 74 69 |quivalen|ce(fonti|
|00000630| 6e 66 6f 28 34 29 2c 6c | 65 61 64 69 6e 67 29 0d |nfo(4),l|eading).|
|00000640| 09 64 61 74 61 20 6e 6f | 72 6d 61 6c 2c 62 6f 6c |.data no|rmal,bol|
|00000650| 64 20 2f 30 2c 31 2f 0d | 09 0d 09 0d 2a 0d 2a 20 |d /0,1/.|....*.* |
|00000660| 20 43 6c 6f 73 65 20 4d | 61 63 46 6f 72 74 72 61 | Close M|acFortra|
|00000670| 6e 20 49 2f 4f 20 77 69 | 6e 64 6f 77 0d 2a 0d 09 |n I/O wi|ndow.*..|
|00000680| 77 69 6e 64 6f 77 3d 74 | 6f 6f 6c 62 78 28 46 52 |window=t|oolbx(FR|
|00000690| 4f 4e 54 57 49 4e 44 4f | 57 29 0d 09 63 61 6c 6c |ONTWINDO|W)..call|
|000006a0| 20 74 6f 6f 6c 62 78 28 | 43 4c 4f 53 45 57 49 4e | toolbx(|CLOSEWIN|
|000006b0| 44 4f 57 2c 77 69 6e 64 | 6f 77 29 0d 2a 0d 2a 20 |DOW,wind|ow).*.* |
|000006c0| 20 4f 70 65 6e 20 76 69 | 65 77 69 6e 67 20 77 69 | Open vi|ewing wi|
|000006d0| 6e 64 6f 77 73 0d 2a 0d | 09 72 65 63 74 28 31 29 |ndows.*.|.rect(1)|
|000006e0| 3d 35 30 0d 09 72 65 63 | 74 28 32 29 3d 32 30 0d |=50..rec|t(2)=20.|
|000006f0| 09 72 65 63 74 28 33 29 | 3d 33 35 30 0d 09 72 65 |.rect(3)|=350..re|
|00000700| 63 74 28 34 29 3d 35 30 | 30 0d 09 73 74 72 67 3d |ct(4)=50|0..strg=|
|00000710| 63 68 61 72 28 6c 65 6e | 28 74 72 69 6d 28 22 53 |char(len|(trim("S|
|00000720| 74 72 69 70 70 65 72 22 | 29 29 29 2f 2f 22 53 74 |tripper"|)))//"St|
|00000730| 72 69 70 70 65 72 22 0d | 09 6f 77 3d 74 6f 6f 6c |ripper".|.ow=tool|
|00000740| 62 78 28 50 54 52 2c 6f | 5f 72 65 63 6f 72 64 29 |bx(PTR,o|_record)|
|00000750| 0d 09 6f 77 3d 74 6f 6f | 6c 62 78 28 4e 45 57 57 |..ow=too|lbx(NEWW|
|00000760| 49 4e 44 4f 57 2c 6f 77 | 2c 72 65 63 74 2c 73 74 |INDOW,ow|,rect,st|
|00000770| 72 67 2c 2e 74 72 75 65 | 2e 2c 34 2c 2d 31 2c 2e |rg,.true|.,4,-1,.|
|00000780| 66 61 6c 73 65 2e 2c 30 | 29 0d 09 63 61 6c 6c 20 |false.,0|)..call |
|00000790| 74 6f 6f 6c 62 78 28 53 | 45 54 50 4f 52 54 2c 6f |toolbx(S|ETPORT,o|
|000007a0| 77 29 0d 2a 0d 2a 20 20 | 53 65 74 20 74 65 78 74 |w).*.* |Set text|
|000007b0| 66 6f 6e 74 20 61 6e 64 | 20 73 69 7a 65 0d 2a 0d |font and| size.*.|
|000007c0| 09 63 61 6c 6c 20 74 6f | 6f 6c 62 78 28 54 45 58 |.call to|olbx(TEX|
|000007d0| 54 46 4f 4e 54 2c 34 29 | 09 09 21 20 6d 6f 6e 61 |TFONT,4)|..! mona|
|000007e0| 63 6f 20 66 6f 6e 74 0d | 09 63 61 6c 6c 20 74 6f |co font.|.call to|
|000007f0| 6f 6c 62 78 28 54 45 58 | 54 53 49 5a 45 2c 39 29 |olbx(TEX|TSIZE,9)|
|00000800| 09 09 21 20 39 20 70 6f | 69 6e 74 0d 09 63 61 6c |..! 9 po|int..cal|
|00000810| 6c 20 74 6f 6f 6c 62 78 | 28 54 45 58 54 46 41 43 |l toolbx|(TEXTFAC|
|00000820| 45 2c 6e 6f 72 6d 61 6c | 29 09 21 20 6e 6f 72 6d |E,normal|).! norm|
|00000830| 61 6c 0d 09 63 61 6c 6c | 20 74 6f 6f 6c 62 78 28 |al..call| toolbx(|
|00000840| 4d 4f 56 45 54 4f 2c 32 | 30 2c 32 30 29 09 21 20 |MOVETO,2|0,20).! |
|00000850| 6d 6f 76 65 20 74 6f 20 | 73 74 61 72 74 69 6e 67 |move to |starting|
|00000860| 20 70 6f 69 6e 74 20 66 | 6f 72 20 74 65 78 74 0d | point f|or text.|
|00000870| 09 63 61 6c 6c 20 74 6f | 6f 6c 62 78 28 47 45 54 |.call to|olbx(GET|
|00000880| 46 4f 4e 54 49 4e 46 4f | 2c 66 6f 6e 74 69 6e 66 |FONTINFO|,fontinf|
|00000890| 6f 29 20 21 20 67 65 74 | 20 66 6f 6e 74 20 63 68 |o) ! get| font ch|
|000008a0| 61 72 61 63 74 65 72 69 | 73 74 69 63 73 0d 09 68 |aracteri|stics..h|
|000008b0| 65 69 67 68 74 3d 61 73 | 63 65 6e 74 2b 64 65 73 |eight=as|cent+des|
|000008c0| 63 65 6e 74 2b 6c 65 61 | 64 69 6e 67 0d 2a 0d 2a |cent+lea|ding.*.*|
|000008d0| 20 20 47 65 74 20 69 6e | 70 75 74 20 61 6e 64 20 | Get in|put and |
|000008e0| 6f 75 74 70 75 74 20 66 | 69 6c 65 20 6e 61 6d 65 |output f|ile name|
|000008f0| 73 20 61 6e 64 20 70 72 | 6f 63 65 73 73 0d 2a 0d |s and pr|ocess.*.|
|00000900| 09 69 66 20 28 73 74 64 | 66 69 6c 28 31 2c 27 20 |.if (std|fil(1,' |
|00000910| 27 2c 6f 66 69 6c 65 2c | 31 2c 27 59 42 49 4e 27 |',ofile,|1,'YBIN'|
|00000920| 29 29 20 74 68 65 6e 0d | 09 20 20 6f 70 65 6e 28 |)) then.|. open(|
|00000930| 31 30 2c 66 69 6c 65 3d | 6f 66 69 6c 65 2c 61 63 |10,file=|ofile,ac|
|00000940| 63 65 73 73 3d 27 73 65 | 71 75 65 6e 74 69 61 6c |cess='se|quential|
|00000950| 27 2c 66 6f 72 6d 3d 27 | 75 6e 66 6f 72 6d 61 74 |',form='|unformat|
|00000960| 74 65 64 27 29 0d 09 20 | 20 6e 66 69 6c 65 3d 22 |ted').. | nfile="|
|00000970| 75 6e 74 69 74 6c 65 64 | 22 0d 09 20 20 69 66 20 |untitled|".. if |
|00000980| 28 73 74 64 66 69 6c 28 | 30 2c 27 53 61 76 65 20 |(stdfil(|0,'Save |
|00000990| 46 69 6c 65 20 4e 61 6d | 65 27 2c 6e 66 69 6c 65 |File Nam|e',nfile|
|000009a0| 2c 31 2c 27 27 29 29 20 | 74 68 65 6e 0d 09 20 20 |,1,'')) |then.. |
|000009b0| 20 20 6f 70 65 6e 28 31 | 31 2c 66 69 6c 65 3d 6e | open(1|1,file=n|
|000009c0| 66 69 6c 65 2c 73 74 61 | 74 75 73 3d 27 6e 65 77 |file,sta|tus='new|
|000009d0| 27 2c 66 6f 72 6d 3d 27 | 75 6e 66 6f 72 6d 61 74 |',form='|unformat|
|000009e0| 74 65 64 27 2c 0d 20 20 | 20 20 20 2b 09 20 20 20 |ted',. | +. |
|000009f0| 20 61 63 63 65 73 73 3d | 27 73 65 71 75 65 6e 74 | access=|'sequent|
|00000a00| 69 61 6c 27 29 0d 2a 0d | 2a 20 20 6c 6f 6f 70 20 |ial').*.|* loop |
|00000a10| 74 68 72 6f 75 67 68 20 | 74 68 65 20 66 69 6c 65 |through |the file|
|00000a20| 20 61 20 62 79 74 65 20 | 61 74 20 61 20 74 69 6d | a byte |at a tim|
|00000a30| 65 0d 2a 0d 09 20 20 20 | 20 69 3d 31 0d 09 20 20 |e.*.. | i=1.. |
|00000a40| 20 20 64 6f 0d 09 20 20 | 20 20 20 20 72 65 61 64 | do.. | read|
|00000a50| 28 31 30 2c 65 6e 64 3d | 31 30 30 29 20 77 6f 72 |(10,end=|100) wor|
|00000a60| 64 0d 09 20 20 20 20 20 | 20 69 66 20 28 69 3e 34 |d.. | if (i>4|
|00000a70| 29 20 77 72 69 74 65 28 | 31 31 29 20 77 6f 72 64 |) write(|11) word|
|00000a80| 0d 09 20 20 20 20 20 20 | 74 79 70 65 20 31 30 30 |.. |type 100|
|00000a90| 30 2c 77 6f 72 64 2c 27 | 20 27 0d 20 31 30 30 30 |0,word,'| '. 1000|
|00000aa0| 09 20 20 20 20 20 20 66 | 6f 72 6d 61 74 28 7a 34 |. f|ormat(z4|
|00000ab0| 2e 34 2c 61 31 29 0d 20 | 09 20 20 20 20 20 20 63 |.4,a1). |. c|
|00000ac0| 61 6c 6c 20 74 6f 6f 6c | 62 78 28 4d 4f 56 45 2c |all tool|bx(MOVE,|
|00000ad0| 77 69 64 6d 61 78 2c 30 | 29 0d 09 20 20 20 20 20 |widmax,0|).. |
|00000ae0| 20 69 66 20 28 6d 6f 64 | 28 69 2c 38 29 3d 30 29 | if (mod|(i,8)=0)|
|00000af0| 0d 20 20 20 20 20 2b 09 | 09 63 61 6c 6c 20 74 6f |. +.|.call to|
|00000b00| 6f 6c 62 78 28 4d 4f 56 | 45 54 4f 2c 32 30 2c 32 |olbx(MOV|ETO,20,2|
|00000b10| 30 2b 69 6e 74 28 69 2f | 38 29 2a 68 65 69 67 68 |0+int(i/|8)*heigh|
|00000b20| 74 29 0d 09 20 20 20 20 | 20 20 69 3d 69 2b 31 0d |t).. | i=i+1.|
|00000b30| 09 20 20 20 20 72 65 70 | 65 61 74 0d 09 20 20 65 |. rep|eat.. e|
|00000b40| 6e 64 69 66 0d 09 65 6e | 64 69 66 0d 2a 0d 2a 20 |ndif..en|dif.*.* |
|00000b50| 20 62 6f 78 20 70 61 72 | 74 20 6f 66 20 74 68 65 | box par|t of the|
|00000b60| 20 73 63 72 65 65 6e 20 | 64 69 73 70 6c 61 79 0d | screen |display.|
|00000b70| 2a 0d 20 31 30 30 09 63 | 61 6c 6c 20 74 6f 6f 6c |*. 100.c|all tool|
|00000b80| 62 78 28 4d 4f 56 45 54 | 4f 2c 32 30 2c 32 30 29 |bx(MOVET|O,20,20)|
|00000b90| 09 21 20 6d 6f 76 65 20 | 74 6f 20 73 74 61 72 74 |.! move |to start|
|00000ba0| 20 6f 66 20 68 65 78 20 | 76 61 6c 75 65 73 0d 09 | of hex |values..|
|00000bb0| 72 65 63 74 28 31 29 3d | 32 30 2d 68 65 69 67 68 |rect(1)=|20-heigh|
|00000bc0| 74 09 09 21 20 73 65 74 | 20 75 70 20 72 65 63 74 |t..! set| up rect|
|00000bd0| 61 6e 67 6c 65 20 62 6f | 75 6e 64 73 0d 09 72 65 |angle bo|unds..re|
|00000be0| 63 74 28 32 29 3d 32 30 | 2d 30 2e 35 2a 77 69 64 |ct(2)=20|-0.5*wid|
|00000bf0| 6d 61 78 09 09 21 20 6c | 65 61 76 65 20 72 6f 6f |max..! l|eave roo|
|00000c00| 6d 20 6f 6e 20 6c 65 66 | 74 0d 09 72 65 63 74 28 |m on lef|t..rect(|
|00000c10| 33 29 3d 32 30 2b 64 65 | 73 63 65 6e 74 2b 30 2e |3)=20+de|scent+0.|
|00000c20| 35 2a 6c 65 61 64 69 6e | 67 09 21 20 6c 65 61 76 |5*leadin|g.! leav|
|00000c30| 65 20 72 6f 6f 6d 20 6f | 6e 20 62 6f 74 74 6f 6d |e room o|n bottom|
|00000c40| 0d 09 72 65 63 74 28 34 | 29 3d 32 30 2b 28 77 69 |..rect(4|)=20+(wi|
|00000c50| 64 6d 61 78 2a 32 30 29 | 2d 33 09 21 20 6c 65 61 |dmax*20)|-3.! lea|
|00000c60| 76 65 20 72 6f 6f 6d 20 | 6f 6e 20 72 69 67 68 74 |ve room |on right|
|00000c70| 0d 09 63 61 6c 6c 20 74 | 6f 6f 6c 62 78 28 50 45 |..call t|oolbx(PE|
|00000c80| 4e 4d 4f 44 45 2c 39 29 | 09 09 21 20 73 65 74 20 |NMODE,9)|..! set |
|00000c90| 70 65 6e 6d 6f 64 65 20 | 74 6f 20 70 61 74 6f 72 |penmode |to pator|
|00000ca0| 0d 09 63 61 6c 6c 20 74 | 6f 6f 6c 62 78 28 46 52 |..call t|oolbx(FR|
|00000cb0| 41 4d 45 52 45 43 54 2c | 72 65 63 74 29 09 21 20 |AMERECT,|rect).! |
|00000cc0| 66 69 6c 6c 20 69 6e 20 | 72 65 63 74 61 6e 67 6c |fill in |rectangl|
|00000cd0| 65 0d 09 63 61 6c 6c 20 | 74 6f 6f 6c 62 78 28 4d |e..call |toolbx(M|
|00000ce0| 4f 56 45 54 4f 2c 32 30 | 2c 32 30 29 09 21 20 6d |OVETO,20|,20).! m|
|00000cf0| 6f 76 65 20 74 6f 20 75 | 70 70 65 72 20 6c 65 66 |ove to u|pper lef|
|00000d00| 74 20 63 6f 72 6e 65 72 | 0d 2a 0d 2a 20 20 70 75 |t corner|.*.* pu|
|00000d10| 74 20 6f 75 74 20 6d 65 | 73 73 61 67 65 20 61 74 |t out me|ssage at|
|00000d20| 20 73 69 64 65 20 6f 66 | 20 68 65 78 20 6c 69 73 | side of| hex lis|
|00000d30| 74 69 6e 67 0d 2a 0d 09 | 63 61 6c 6c 20 74 6f 6f |ting.*..|call too|
|00000d40| 6c 62 78 28 4d 4f 56 45 | 54 4f 2c 32 30 2b 77 69 |lbx(MOVE|TO,20+wi|
|00000d50| 64 6d 61 78 2a 34 30 2b | 31 35 2c 32 30 29 0d 09 |dmax*40+|15,20)..|
|00000d60| 74 79 70 65 20 22 54 68 | 65 20 62 6f 78 65 64 20 |type "Th|e boxed |
|00000d70| 76 61 6c 75 65 73 20 68 | 61 76 65 20 62 65 65 6e |values h|ave been|
|00000d80| 22 0d 09 63 61 6c 6c 20 | 74 6f 6f 6c 62 78 28 4d |"..call |toolbx(M|
|00000d90| 4f 56 45 54 4f 2c 32 30 | 2b 77 69 64 6d 61 78 2a |OVETO,20|+widmax*|
|00000da0| 34 30 2b 31 35 2c 32 30 | 2b 68 65 69 67 68 74 29 |40+15,20|+height)|
|00000db0| 0d 09 74 79 70 65 20 22 | 73 74 72 69 70 70 65 64 |..type "|stripped|
|00000dc0| 20 66 72 6f 6d 20 74 68 | 65 20 66 69 6c 65 20 22 | from th|e file "|
|00000dd0| 0d 09 63 61 6c 6c 20 74 | 6f 6f 6c 62 78 28 54 45 |..call t|oolbx(TE|
|00000de0| 58 54 46 41 43 45 2c 62 | 6f 6c 64 29 0d 09 63 61 |XTFACE,b|old)..ca|
|00000df0| 6c 6c 20 74 6f 6f 6c 62 | 78 28 4d 4f 56 45 54 4f |ll toolb|x(MOVETO|
|00000e00| 2c 32 30 2b 77 69 64 6d | 61 78 2a 34 30 2b 32 30 |,20+widm|ax*40+20|
|00000e10| 2c 32 30 2b 32 2a 68 65 | 69 67 68 74 29 0d 09 74 |,20+2*he|ight)..t|
|00000e20| 79 70 65 20 2a 2c 6f 66 | 69 6c 65 0d 09 63 61 6c |ype *,of|ile..cal|
|00000e30| 6c 20 74 6f 6f 6c 62 78 | 28 54 45 58 54 46 41 43 |l toolbx|(TEXTFAC|
|00000e40| 45 2c 6e 6f 72 6d 61 6c | 29 0d 09 63 61 6c 6c 20 |E,normal|)..call |
|00000e50| 74 6f 6f 6c 62 78 28 4d | 4f 56 45 54 4f 2c 32 30 |toolbx(M|OVETO,20|
|00000e60| 2b 77 69 64 6d 61 78 2a | 34 30 2b 31 35 2c 32 30 |+widmax*|40+15,20|
|00000e70| 2b 34 2a 68 65 69 67 68 | 74 29 0d 09 74 79 70 65 |+4*heigh|t)..type|
|00000e80| 20 22 61 6e 64 20 73 74 | 6f 72 65 64 20 69 6e 20 | "and st|ored in |
|00000e90| 74 68 65 20 66 69 6c 65 | 20 22 0d 09 63 61 6c 6c |the file| "..call|
|00000ea0| 20 74 6f 6f 6c 62 78 28 | 54 45 58 54 46 41 43 45 | toolbx(|TEXTFACE|
|00000eb0| 2c 62 6f 6c 64 29 0d 09 | 63 61 6c 6c 20 74 6f 6f |,bold)..|call too|
|00000ec0| 6c 62 78 28 4d 4f 56 45 | 54 4f 2c 32 30 2b 77 69 |lbx(MOVE|TO,20+wi|
|00000ed0| 64 6d 61 78 2a 34 30 2b | 32 30 2c 32 30 2b 35 2a |dmax*40+|20,20+5*|
|00000ee0| 68 65 69 67 68 74 29 0d | 09 74 79 70 65 20 2a 2c |height).|.type *,|
|00000ef0| 6e 66 69 6c 65 0d 09 63 | 61 6c 6c 20 74 6f 6f 6c |nfile..c|all tool|
|00000f00| 62 78 28 4d 4f 56 45 54 | 4f 2c 32 30 2b 77 69 64 |bx(MOVET|O,20+wid|
|00000f10| 6d 61 78 2a 34 30 2b 31 | 35 2c 32 30 2b 31 30 2a |max*40+1|5,20+10*|
|00000f20| 68 65 69 67 68 74 29 0d | 09 74 79 70 65 20 22 50 |height).|.type "P|
|00000f30| 72 65 73 73 20 72 65 74 | 75 72 6e 20 74 6f 20 63 |ress ret|urn to c|
|00000f40| 6f 6e 74 69 6e 75 65 2e | 22 0d 09 70 61 75 73 65 |ontinue.|"..pause|
|00000f50| 0d 09 73 74 6f 70 0d 20 | 09 65 6e 64 0d 00 00 00 |..stop. |.end....|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f80| 00 00 01 00 00 00 01 16 | 00 00 00 16 00 00 00 d4 |........|........|
|00000f90| 00 ca 72 3f 7a 00 43 eb | 00 68 4e ac 00 18 43 e8 |..r?z.C.|.hN...C.|
|00000fa0| 05 2e 12 dd 53 85 66 fa | 42 11 1b 3c 00 49 1b 3c |....S.f.|B..<.I.<|
|00000fb0| 0c 53 74 72 69 70 70 65 | 72 2e 66 6f 72 65 02 00 |.Strippe|r.fore..|
|00000fc0| 00 00 54 45 58 54 45 44 | 49 54 01 00 00 00 00 c0 |..TEXTED|IT......|
|00000fd0| 00 00 54 45 58 54 45 44 | 49 54 01 00 00 00 00 c0 |..TEXTED|IT......|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 99 a2 2b 14 00 00 | 0e dd 00 00 01 ea 4e ac |....+...|......N.|
|00001000| 00 40 52 80 27 40 01 b0 | 43 e8 00 64 70 4e 42 99 |.@R.'@..|C..dpNB.|
|00001010| 51 c8 ff fc 31 7c 00 01 | 00 ca 20 2b 01 a4 21 40 |Q...1|..|.. +..!@|
|00001020| 00 b8 20 2b 01 b0 27 40 | 01 ac 2f 00 20 2b 01 b0 |.. +..'@|../. +..|
|00001030| 72 14 d0 81 90 9f 52 80 | 2c 00 60 00 00 54 27 7c |r.....R.|,.`..T'||
|00001040| 00 00 00 01 01 a8 27 7c | 00 00 00 03 00 14 60 00 |......'||......`.|
|00001050| 00 36 20 2b 01 a8 28 00 | 20 2b 01 ac c1 fc 00 03 |.6 +..(.| +......|
|00001060| d8 80 e5 8c 06 84 00 00 | 02 b0 48 73 48 00 48 78 |........|..HsH.Hx|
|00001070| 00 01 2f 3c 00 04 00 04 | 7a 01 4e ac 00 24 de fc |../<....|z.N..$..|
|00001080| 00 00 00 0a 00 09 06 4d | 6f 6e 61 63 6f 00 00 00 |.......M|onaco...|
|00001090| 00 04 00 06 00 08 00 00 | 01 00 00 00 01 16 00 00 |........|........|
|000010a0| 00 16 00 00 00 d4 00 00 | 4e 1c 00 98 00 00 00 1c |........|N.......|
|000010b0| 00 46 00 01 45 46 4e 54 | 00 00 00 12 45 54 41 42 |.F..EFNT|....ETAB|
|000010c0| 00 00 00 1e 03 eb 00 00 | 00 00 00 00 00 00 ec 08 |........|........|
|000010d0| 03 ec 00 47 00 00 00 0e | 00 00 eb f4 46 4f 42 4a |...G....|....FOBJ|
|000010e0| ff ff ff ff 00 40 01 aa | 00 40 01 ac 00 40 01 ae |.....@..|.@...@..|
|000010f0| 00 40 01 b0 00 40 01 b2 | 00 40 01 b4 00 40 01 b6 |.@...@..|.@...@..|
|00001100| 00 40 01 b8 00 40 10 18 | 00 40 01 bc 00 40 01 be |.@...@..|.@...@..|
|00001110| 00 40 01 be 00 40 01 be | 00 40 01 be 00 40 01 be |.@...@..|.@...@..|
|00001120| 00 40 01 46 4f 42 4a ff | ff ff ff 00 40 01 aa 00 |.@.FOBJ.|....@...|
|00001130| 40 01 ac 00 40 01 ae 00 | 40 01 b0 00 40 01 b2 00 |@...@...|@...@...|
|00001140| 40 01 b4 00 40 01 b6 00 | 40 01 b8 00 40 10 18 00 |@...@...|@...@...|
|00001150| 40 01 bc 00 40 01 be 00 | 40 01 be 00 40 01 be 00 |@...@...|@...@...|
|00001160| 40 01 be 00 40 01 be 00 | 40 01 00 00 00 00 00 00 |@...@...|@.......|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+